@import url("../../../css/public.less");

.UserDetails {
  // 基本信息
  .basicInformation {
    width: 100%;
    // height: 200px;
    border: 1px solid @bgColor;

    .basicInformation-title {
      background-color: @bgColor;
      width: 100%;
      height: 50px;
      font-size: 16px;
      line-height: 50px;
      padding-left: 15px;
      color: #676262;
    }
  }

  // 头像+列表
  .basics {
    width: 100%;
    color: #676262;
    display: flex;
    justify-content: space-between;
    // align-items: flex-start;
    border: 1px solid #d7d7d7;
    .head-img {
      width: 13%;
      display: flex;
      justify-content: center;
      align-items: center;
      img {
        width: 80px;
        height: 80px;
        margin: 20px;
        border-radius: 50%;
        background-color: salmon;
      }
    }
    .info-box {
      width: 87%;
      // border: 1px soli #d7d7d7;

      display: flex;
      flex-wrap: wrap;
      .info {
        width: 50%;

        display: flex;
        margin-bottom: 0;
        height: 40px;
        padding: 0;

        .info-title {
          width: 275px;
          height: 40px;
          line-height: 40px;
          overflow: hidden;
          border: 1px solid #d7d7d7;
          text-align: center;
        }
        .info-content {
          width: 275px;
          height: 40px;
          line-height: 40px;
          overflow: hidden;
          border: 1px solid #d7d7d7;
          text-align: center;
          border-left: none;
        }
      }
    }
  }

  // 收货地址
  .receiveAddress {
    width: 100%;
    // height: 200px;
    border: 1px solid @bgColor;
    .receiveAddress-title {
      background-color: @bgColor;
      width: 100%;
      height: 50px;
      font-size: 16px;
      line-height: 50px;
      padding-left: 15px;
      color: #676262;
    }
  }

  // 订单记录
  .orderHistory {
    width: 100%;
    border: 1px solid @bgColor;
    margin-top: 20px;
    .orderHistory-title {
      background-color: @bgColor;
      width: 100%;
      height: 50px;
      font-size: 16px;
      line-height: 50px;
      padding-left: 15px;
      color: #676262;
    }
    .one {
      width: 50px;
      height: 30px;
      border-radius: 5px;
      border: 1px solid #67c23a;
      background-color: #e1f3d8;
      color: #67c23a;
      margin-right: 20px;
      &:hover {
        background-color: #67c23a;
        color: #fff;
      }
    }
  }
}
